<template>
  <div id="app">
    <el-container>
      <el-header>
        <nav-menu />
      </el-header>
      <el-main>
        <router-view />
      </el-main>
    </el-container>
  </div>
</template>

<script setup>
import NavMenu from './components/NavMenu.vue'
</script>

<style>
.app-container {
  height: 100vh;
  background-color: #f5f7fa;
}

.side-menu {
  height: 100%;
  border-right: none;
}

.el-header {
  background-color: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  padding: 0 20px;
}

.header-content {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-content h1 {
  margin: 0;
  font-size: 1.5rem;
  color: #409EFF;
}

.search-input {
  width: 300px;
}

.el-main {
  padding: 20px;
}

.fade-enter-active,
.fade-leave-active {
  transition: opacity 0.3s ease;
}

.fade-enter-from,
.fade-leave-to {
  opacity: 0;
}
</style> 